home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / rm08.zip / DEMO4.C < prev    next >
Text File  |  1993-01-27  |  2KB  |  47 lines

  1. /* ************************************************************ */
  2. /* Demo4.c For QuickC                                           */
  3. /*                                                              */
  4. /* Rcar was created by saving the image as QC Constant          */
  5. /* from Raster Master.                                          */
  6. /* ************************************************************ */
  7.  
  8. #include <graph.h>
  9. #include <stdio.h>
  10.  
  11. void main()
  12. {
  13. /* QuickC, Width= 28 Height= 16 Colors= 16 */
  14.  
  15. char Rcar[260] = {
  16.           0x1C,0x00,0x10,0x00,0xFF,0xC3,0xFF,0xFF,0x00,0x00,0x00,0x00,
  17.           0x00,0x3C,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0x80,0xFF,0xFF,
  18.           0x00,0x00,0x00,0x00,0x00,0x7F,0x00,0x00,0x00,0x3F,0x00,0x00,
  19.           0x9F,0x01,0xFF,0xFF,0x00,0x01,0x80,0x00,0x60,0xC1,0x80,0x00,
  20.           0x00,0x40,0x00,0x00,0x8E,0x00,0xFF,0xFF,0x00,0x00,0xC0,0x00,
  21.           0x71,0x80,0xC0,0x00,0x00,0x80,0x00,0x00,0xE4,0x00,0x7F,0xFF,
  22.           0x00,0x00,0x60,0x00,0x1B,0x80,0x60,0x00,0x01,0x00,0x00,0x00,
  23.           0xE0,0x00,0x3F,0xFF,0x00,0x00,0x30,0x00,0x1F,0xC0,0x30,0x00,
  24.           0x01,0x80,0x00,0x00,0xC0,0x00,0x00,0xFF,0x00,0x00,0x00,0x00,
  25.           0x3F,0xFF,0xFF,0x00,0x1C,0x00,0x00,0x00,0x80,0x10,0x00,0x3F,
  26.           0x00,0x10,0x00,0x00,0x7F,0xFF,0xFF,0xC0,0x3F,0x8F,0xEF,0x00,
  27.           0x00,0x00,0x00,0x5F,0x00,0x00,0x00,0x40,0xFF,0xFF,0xFF,0xE0,
  28.           0x71,0xDF,0xF0,0x80,0x80,0x00,0x00,0x6F,0x80,0x00,0x00,0x60,
  29.           0xF1,0xFF,0xF8,0xF0,0x60,0xDF,0xF0,0x00,0x80,0x00,0x00,0x2F,
  30.           0x80,0x00,0x00,0x20,0xE0,0xFF,0xF0,0x70,0x40,0x5F,0xE0,0x00,
  31.           0x04,0x00,0x02,0x0F,0x04,0x00,0x02,0x00,0xC4,0x7F,0xE2,0x30,
  32.           0x04,0x1F,0xC2,0x00,0x0A,0x00,0x05,0x0F,0x0A,0x00,0x05,0x00,
  33.           0xCA,0x7F,0xE5,0x30,0x0E,0x00,0x07,0x00,0xC4,0x7F,0xE2,0x3F,
  34.           0x04,0x00,0x02,0x00,0x04,0x00,0x02,0x00,0x04,0x00,0x02,0x00,
  35.           0xE0,0xFF,0xF0,0x7F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  36.           0x00,0x00,0x00,0x00,0xF1,0xFF,0xF8,0xFF,0x00,0x00,0x00,0x00,
  37.           0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
  38.  
  39.   _setvideomode(_MRES16COLOR);  /* _MRES256COLOR for 256 color images */
  40.   _setcolor(1);
  41.   _rectangle(_GFILLINTERIOR,0,0,319,199);
  42.   _putimage(0,0,Rcar,_GPSET);
  43.   getch();
  44.   _setvideomode(_DEFAULTMODE);
  45. }
  46.  
  47.